package app.controller;


import app.mapper.TestMapper;

import app.util.AppException;
import app.util.Exceptions.AppLoginException;
import app.util.Exceptions.AppSystemException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.List;


@RestController
@RequestMapping("/open")
public class OpenController {

    @Autowired
    public OpenController(TestMapper testMapper) {
    }

    @GetMapping("/login_err")
    public String test() throws Exception {
        throw new AppLoginException();
    }
}
